{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>套餐详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">套餐名称：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$setmeal.ps_name}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">缩略图：</label>
                            <div class="layui-input-block">
                                    <div class="layui-upload-list img-circle">
                                        <img class="layui-append-img" src="{$setmeal.ps_image}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                    </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">原价：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$setmeal.ps_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">优惠价：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$setmeal.ps_vip_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">规格：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$setmeal.ps_spec}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">效果：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$setmeal.ps_xg}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">效果对比图：</label>
                            <div class="layui-input-block">
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$setmeal.ps_db_img}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">更多详情图：</label>
                            <div class="layui-input-block">
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$setmeal.ps_detail_img}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">皮肤样图：</label>
                            <div class="layui-input-block">
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$setmeal.ps_pf_img}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">魔镜样图：</label>
                            <div class="layui-input-block">
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$setmeal.ps_mj_img}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">套餐图集：</label>
                            <div class="layui-input-block">
                                {if count($setmeal.ps_images) > 0}
                                <div class="layui-upload-list img-circle">
                                {volist name='setmeal.ps_images' id='vo'}
                                    <img class="layui-append-img" src="{$vo}">
                                {/volist}
                                </div>
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">状态：</label>
                            <div class="layui-input-block">
                                {if($setmeal.ps_status == 1)}
                                <input type="text" class="layui-input" value="上架中" disabled>
                                {else /}
                                <input type="text" class="layui-input" value="已下架" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">套餐详情：</label>
                            <div class="layui-input-block" id="LAY_editor" lay-verify="editor">
                                <p>{$setmeal.ps_content}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}
<script>
    var editor = wk.wang({elem:'#LAY_editor'});
</script>
</body>
</html>